/*
* 扫描器
* */
import changeAsTokens from './changeAsTokens.js'
import renderTemplate from './renderTemplate'
window.Cola_JT = {
    render(templateStr,data){
        // 编译tokens
        var tokens = changeAsTokens(templateStr)
        console.log(tokens)
        //填充数据
        var tempalate = renderTemplate(tokens,data)
        console.log(tempalate)
    }
}